package com.ymtms.arrivalofgoods.dao;

import com.ymtms.arrivalofgoods.pojo.GoodsbillEvent;
import org.apache.ibatis.annotations.Update;

import java.util.List;

public interface GoodsbillEventMapper {
    int deleteByPrimaryKey(Integer geid);

    int insert(GoodsbillEvent record);

    int insertSelective(GoodsbillEvent record);

    GoodsbillEvent selectByPrimaryKey(Integer geid);

    int updateByPrimaryKeySelective(GoodsbillEvent record);

    int updateByPrimaryKey(GoodsbillEvent record);

@Update("update goodsbill_event set event_name='已到运单' where goods_bill_pkid=#{num}")
    void updateEventnameByGoodsBillId(Integer num);


List<GoodsbillEvent> selectAllUnArrivedGoodsBill();

}